﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Paginas_Publico/MasterPagePublic.Master" AutoEventWireup="true" CodeBehind="ClienteCadastro.aspx.cs" Inherits="WEB_MechSysWeb.Paginas_Publico.ClienteCadastro" %>

<%@ Register Assembly="Brettle.Web.NeatUpload" Namespace="Brettle.Web.NeatUpload" TagPrefix="Upload" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        #divBotoesCad {
            height: 52px;
        }

        .auto-style1 {
            height: 26px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMaster" runat="server">
    <asp:UpdatePanel ID="UpdatePanelGeral" runat="server">
        <ContentTemplate>
            <div id="divPagina" style="height: 1280px">
                <div id="divTitulo" class="divTituloCad" style="height: 27px">
                    Cadastro de Cliente
                </div>
                <div id="divDados" style="height: 561px">
                    <AjaxControlToolkit:Accordion ID="accConteudo" runat="server" ContentCssClass="accordionContent"
                        FadeTransitions="True" FramesPerSecond="40" HeaderCssClass="accordionHeaderPrinc"
                        HeaderSelectedCssClass="accordionHeaderSelectedPrinc" Height="993px" RequireOpenedPane="False"
                        Style="margin-left: 5px; margin-right: 0px" SuppressHeaderPostbacks="true" Width="821px">
                        <Panes>
                            <AjaxControlToolkit:AccordionPane ID="AccDados" runat="server">
                                <Header>
                                        Dados Pessoais
                                    </Header>
                                <Content>
                                    <table class="tableAccInterno">
                                        <tr>
                                            <td class="auto-style12">
                                                <asp:Label ID="Label4" runat="server" CssClass="Labels" Text="CPF: "></asp:Label>
                                            </td>
                                            <td>
                                                <asp:UpdatePanel ID="UpdatePanelCPF" runat="server">
                                                    <ContentTemplate>
                                                        <asp:TextBox ID="txtCPF" runat="server" Width="320px" AutoPostBack="true" OnTextChanged="txtCPF_TextChanged"></asp:TextBox>
                                                        <asp:Image ID="imgValidacaoCPF" runat="server" Width="25px" Height="22px" Visible="false" />
                                                        <AjaxControlToolkit:MaskedEditExtender ID="MaskedEditExtender1" runat="server" ClearMaskOnLostFocus="False"
                                                            TargetControlID="txtCPF" Mask="999\.999\.999\-99">
                                                        </AjaxControlToolkit:MaskedEditExtender>
                                                        <asp:Label ID="lblValidacaoCPF" runat="server" Text="" ForeColor="Red"></asp:Label>
                                                        <asp:CustomValidator ID="CustomValidatorCPF" runat="server" ErrorMessage="."
                                                            OnServerValidate="CustomValidatorCPF_ServerValidate" ForeColor="Red" ValidationGroup="vgtxt"></asp:CustomValidator>
                                                    </ContentTemplate>
                                                    <Triggers>
                                                        <asp:AsyncPostBackTrigger ControlID="txtCPF" EventName="TextChanged" />
                                                    </Triggers>
                                                </asp:UpdatePanel>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ErrorMessage="*Campo obrigatório!"
                                                    ControlToValidate="txtCPF" ForeColor="Red" ValidationGroup="vgtxt"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="auto-style12">
                                                <asp:Label ID="Label1" runat="server" CssClass="Labels" Text="Nome*: "></asp:Label>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtNome" runat="server" Width="320px"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*Campo obrigatório!"
                                                    ControlToValidate="txtNome" ForeColor="Red" ValidationGroup="vgtxt"></asp:RequiredFieldValidator></td>
                                        </tr>
                                        <tr>
                                            <td class="auto-style12">
                                                <asp:Label ID="Label2" runat="server" CssClass="Labels" Text="Sobrenome*: "></asp:Label>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtSobrenome" runat="server" Width="320px"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*Campo obrigatório!"
                                                    ControlToValidate="txtSobrenome" ForeColor="Red" ValidationGroup="vgtxt"></asp:RequiredFieldValidator></td>
                                        </tr>
                                        <tr>
                                            <td class="auto-style12">
                                                <asp:Label ID="Label3" runat="server" CssClass="Labels" Text="Sexo: "></asp:Label>
                                            </td>
                                            <td>
                                                <asp:RadioButtonList ID="rblSexo" runat="server" Width="170px" RepeatColumns="2"
                                                    RepeatLayout="Flow">
                                                    <asp:ListItem Value="F">Feminino</asp:ListItem>
                                                    <asp:ListItem Value="M">Masculino</asp:ListItem>
                                                </asp:RadioButtonList>
                                                <asp:CustomValidator ID="CustomValidatorSexo" runat="server" ErrorMessage="*Selecione o Sexo!"
                                                    ControlToValidate="rblSexo" OnServerValidate="CustomValidatorSexo_ServerValidate" ForeColor="Red" ValidationGroup="vgtxt"></asp:CustomValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="auto-style12">
                                                <asp:Label ID="Label6" runat="server" CssClass="Labels" Text="Data de Nascimento: "></asp:Label>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtDataNascimento" runat="server" Width="320px"></asp:TextBox>
                                                <AjaxControlToolkit:MaskedEditExtender ID="mskDataNascimento" runat="server" TargetControlID="txtDataNascimento"
                                                    Mask="99\/99\/9999" ClearMaskOnLostFocus="false" PromptCharacter="_">
                                                </AjaxControlToolkit:MaskedEditExtender>
                                                <AjaxControlToolkit:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtDataNascimento"
                                                    Format="dd/MM/yyyy">
                                                </AjaxControlToolkit:CalendarExtender>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ErrorMessage="*Campo obrigatório!"
                                                    ControlToValidate="txtDataNascimento" ForeColor="Red" ValidationGroup="vgtxt"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="auto-style12">
                                                <asp:Label ID="Label7" runat="server" CssClass="Labels" Text="Telefone*: "></asp:Label>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtTelefone" runat="server" Width="320px"></asp:TextBox>
                                                <AjaxControlToolkit:MaskedEditExtender ID="MaskedEditExtender3" runat="server" ClearMaskOnLostFocus="False"
                                                    Mask="\(99\)9999\-9999" TargetControlID="txtTelefone">
                                                </AjaxControlToolkit:MaskedEditExtender>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*Campo obrigatório!"
                                                    ControlToValidate="txtTelefone" ForeColor="Red" ValidationGroup="vgtxt"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="auto-style1">
                                                <asp:Label ID="Label8" runat="server" CssClass="Labels" Text="Celular: "></asp:Label>
                                            </td>
                                            <td class="auto-style1">
                                                <asp:TextBox ID="txtCelular" runat="server" Width="320px"></asp:TextBox>
                                                <AjaxControlToolkit:MaskedEditExtender ID="MaskedEditExtender4" runat="server" ClearMaskOnLostFocus="False"
                                                    Mask="\(99\)9999\-9999" TargetControlID="txtCelular">
                                                </AjaxControlToolkit:MaskedEditExtender>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="auto-style12">
                                                <asp:Label ID="Label15" runat="server" CssClass="Labels" Text="Email: "></asp:Label>
                                            </td>
                                            <td>
                                                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                                    <ContentTemplate>
                                                        <asp:TextBox ID="txtEmail" runat="server" Width="320px" AutoPostBack="true" OnTextChanged="txtEmail_TextChanged"></asp:TextBox>
                                                        <asp:Image ID="imgValidacaoEmail" runat="server" Width="25px" Height="22px" Visible="false" />
                                                        <asp:CustomValidator ID="CustomValidatorEmail" runat="server" ErrorMessage="."
                                                            OnServerValidate="CustomValidatorEmail_ServerValidate" ForeColor="Red" ValidationGroup="vgtxt"></asp:CustomValidator>
                                                        <asp:Label ID="lblValidacaoEmail" runat="server" Text="" ForeColor="Red"></asp:Label>
                                                    </ContentTemplate>
                                                    <Triggers>
                                                        <asp:AsyncPostBackTrigger ControlID="txtEmail" EventName="TextChanged" />
                                                    </Triggers>
                                                </asp:UpdatePanel>
                                                <asp:RegularExpressionValidator ID="RegularExpressionValidatorEmail" runat="server" ErrorMessage="*Email Inválido!"
                                                    ControlToValidate="txtEMail" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ForeColor="Red" ValidationGroup="vgtxt">
                                                </asp:RegularExpressionValidator>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ErrorMessage="*Campo obrigatório!"
                                                    ControlToValidate="txtEmail" ForeColor="Red" ValidationGroup="vgtxt"></asp:RequiredFieldValidator>

                                            </td>
                                            <tr>
                                                <td class="auto-style12">
                                                    <asp:Label ID="Label26" runat="server" CssClass="Labels" Text="Repetir Email: "></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtRepetirEmail" runat="server" Width="320px"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="*Campo obrigatório!"
                                                        ControlToValidate="txtRepetirEmail" ForeColor="Red" ValidationGroup="vgtxt"></asp:RequiredFieldValidator>
                                                    <br />
                                                    <asp:CompareValidator ID="CompareValidatorEmail" runat="server"
                                                        ControlToCompare="txtEmail" ControlToValidate="txtRepetirEmail"
                                                        ErrorMessage="*E-mail incorreto!" ForeColor="Red" ValidationGroup="vgtxt">
                                                    </asp:CompareValidator>

                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="auto-style12">
                                                    <asp:Label ID="Label16" runat="server" CssClass="Labels" Text="Login*: "></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                                                        <ContentTemplate>
                                                            <asp:TextBox ID="txtLoginCad" runat="server" Width="320px" ValidationGroup="txtGroup" OnTextChanged="txtLoginCad_TextChanged" AutoPostBack="true"></asp:TextBox>
                                                            <asp:Image ID="imgValidacaoLogin" runat="server" Width="25px" Height="22px" Visible="false" />
                                                            <asp:Label ID="lblValidacaoLogin" runat="server" Text="" ForeColor="Red"></asp:Label>
                                                            <asp:CustomValidator ID="CustomValidatorLogin" runat="server" ErrorMessage="."
                                                                OnServerValidate="CustomValidatorLogin_ServerValidate" ForeColor="Red" ValidationGroup="vgtxt"></asp:CustomValidator>
                                                        </ContentTemplate>
                                                        <Triggers>
                                                            <asp:AsyncPostBackTrigger ControlID="txtLoginCad" EventName="TextChanged" />
                                                        </Triggers>
                                                    </asp:UpdatePanel>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="*Campo obrigatório!"
                                                        ControlToValidate="txtLoginCad" ForeColor="Red" ValidationGroup="vgtxt"></asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="auto-style12">
                                                    <asp:Label ID="Label24" runat="server" CssClass="Labels" Text="Repetir Login*: "></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtRepetirLogin" runat="server" Width="320px"></asp:TextBox>
                                                    <asp:CompareValidator ID="CompareValidator5" runat="server"
                                                        ControlToCompare="txtLoginCad" ControlToValidate="txtRepetirLogin"
                                                        ErrorMessage="*Logins não conferem!" ForeColor="Red" ValidationGroup="vgtxt"></asp:CompareValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="auto-style12">
                                                    <asp:Label ID="Label17" runat="server" CssClass="Labels" Text="Senha*: "></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:UpdatePanel ID="UpdatePanel3" runat="server">
                                                        <ContentTemplate>
                                                            <asp:TextBox ID="txtSenhaCad" runat="server" Width="320px" AutoPostBack="true" OnTextChanged="txtSenhaCad_TextChanged"></asp:TextBox>
                                                            <asp:Image ID="imgValidacaoSenha" runat="server" Width="25px" Height="22px" Visible="false" />
                                                            <asp:Label ID="lblValidacaoSenha" runat="server" Text="" ForeColor="Red"></asp:Label>
                                                        </ContentTemplate>
                                                        <Triggers>
                                                            <asp:AsyncPostBackTrigger ControlID="txtSenhaCad" EventName="TextChanged" />
                                                        </Triggers>
                                                    </asp:UpdatePanel>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ErrorMessage="*Campo obrigatório!"
                                                        ControlToValidate="txtSenhaCad" ForeColor="Red" ValidationGroup="vgtxt"></asp:RequiredFieldValidator>
                                                    <asp:CustomValidator ID="CustomValidatorSenha" runat="server" ErrorMessage="."
                                                        OnServerValidate="CustomValidatorSenha_ServerValidate" ForeColor="Red" ValidationGroup="vgtxt"></asp:CustomValidator>

                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="auto-style12">
                                                    <asp:Label ID="Label25" runat="server" CssClass="Labels" Text="Repetir Senha*: "></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtRepetirSenha" runat="server" Width="320px"></asp:TextBox>
                                                    <asp:CompareValidator ID="CompareValidator6" runat="server"
                                                        ControlToCompare="txtSenhaCad" ControlToValidate="txtRepetirSenha"
                                                        ErrorMessage="*Senhas não conferem!" ForeColor="Red" ValidationGroup="vgtxt"></asp:CompareValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="auto-style12">
                                                    <asp:Label ID="Label23" runat="server" CssClass="Labels" Text="Imagem do Perfil: "></asp:Label>
                                                </td>
                                                <td>                                                   
                                                    <asp:FileUpload ID="FileUploadImagem" runat="server"/>                                                   
                                                </td>
                                            </tr>
                                    </table>
                                </Content>
                            </AjaxControlToolkit:AccordionPane>
                            <AjaxControlToolkit:AccordionPane ID="accEndereço" runat="server">
                                <Header>
                                        Endereço
                                    </Header>
                                <Content>
                                    <asp:UpdatePanel ID="UpdatePanelEndereco" runat="server">
                                        <ContentTemplate>
                                            <table class="tableAccInterno">
                                                <tr>
                                                    <td class="auto-style12">
                                                        <asp:Label ID="Label14" runat="server" CssClass="Labels" Text="CEP*: "></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:TextBox ID="txtCEP" runat="server" Width="320px" OnTextChanged="txtCEP_TextChanged"></asp:TextBox>
                                                        <AjaxControlToolkit:MaskedEditExtender ID="MaskedEditExtender2" runat="server" ClearMaskOnLostFocus="False"
                                                            Mask="99999\-999" TargetControlID="txtCEP">
                                                        </AjaxControlToolkit:MaskedEditExtender>
                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator16" runat="server" ControlToValidate="txtCEP"
                                                            ErrorMessage="*Campo obrigatório!" ForeColor="Red" ValidationGroup="vgtxt"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="auto-style12">
                                                        <asp:Label ID="Label9" runat="server" CssClass="Labels" Text="Rua: "></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:TextBox ID="txtRua" runat="server" Width="320px"></asp:TextBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="auto-style12">
                                                        <asp:Label ID="Label10" runat="server" CssClass="Labels" Text="Número: "></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:TextBox ID="txtNumero" runat="server" Width="320px"></asp:TextBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="auto-style12">
                                                        <asp:Label ID="Label11" runat="server" CssClass="Labels" Text="Complemento: "></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:TextBox ID="txtComplemento" runat="server" Width="320px"></asp:TextBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="auto-style12">
                                                        <asp:Label ID="Label27" runat="server" CssClass="Labels" Text="Bairro"></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:TextBox ID="txtBairro" runat="server" Width="320px"></asp:TextBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="auto-style12">
                                                        <asp:Label ID="Label12" runat="server" CssClass="Labels" Text="Cidade: "></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:TextBox ID="txtCidade" runat="server" Width="320px"></asp:TextBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="auto-style12">
                                                        <asp:Label ID="Label13" runat="server" CssClass="Labels" Text="Estado: "></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:DropDownList ID="ddlEstado" runat="server" Width="320px"></asp:DropDownList>
                                                    </td>
                                                </tr>
                                            </table>
                                        </ContentTemplate>
                                        <Triggers>
                                            <asp:AsyncPostBackTrigger ControlID="txtCEP" EventName="TextChanged" />
                                        </Triggers>
                                    </asp:UpdatePanel>
                                </Content>
                            </AjaxControlToolkit:AccordionPane>
                            <AjaxControlToolkit:AccordionPane ID="accVeiculo" runat="server">
                                <Header>
                                        Veículo
                                    </Header>
                                <Content>
                                    <asp:UpdatePanel ID="UpdatePanel4" runat="server">
                                        <ContentTemplate>
                                            <table class="tableAccInterno">
                                                <tr>
                                                    <td class="auto-style12">
                                                        <asp:Label ID="Label18" runat="server" CssClass="Labels" Text="Placa*: "></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:TextBox ID="txtPlaca" runat="server" Width="320px" OnTextChanged="txtPlaca_TextChanged" AutoPostBack="true"></asp:TextBox>
                                                        <AjaxControlToolkit:MaskedEditExtender ID="MaskedEditExtender5" runat="server" ClearMaskOnLostFocus="False"
                                                            Mask="AAA\-9999" TargetControlID="txtPlaca">
                                                        </AjaxControlToolkit:MaskedEditExtender>
                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ErrorMessage="*Campo obrigatório!"
                                                            ControlToValidate="txtPlaca" ForeColor="Red" ValidationGroup="vgtxt"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="auto-style12">
                                                        <asp:Label ID="Label19" runat="server" CssClass="Labels" Text="Marca*: "></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:TextBox ID="txtMarca" runat="server" Width="320px"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="*Campo obrigatório!"
                                                            ControlToValidate="txtMarca" ForeColor="Red" ValidationGroup="vgtxt"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="auto-style12">
                                                        <asp:Label ID="Label20" runat="server" CssClass="Labels" Text="Modelo*: "></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:TextBox ID="txtModelo" runat="server" Width="320px"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ErrorMessage="*Campo obrigatório!"
                                                            ControlToValidate="txtModelo" ForeColor="Red" ValidationGroup="vgtxt"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="auto-style12">
                                                        <asp:Label ID="Label21" runat="server" CssClass="Labels" Text="Ano de Fabricação: "></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:TextBox ID="txtAnoFab" runat="server" Width="320px"></asp:TextBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="auto-style12">
                                                        <asp:Label ID="Label22" runat="server" CssClass="Labels" Text="Ano do Modelo: "></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:TextBox ID="txtAnoMod" runat="server" Width="320px"></asp:TextBox>
                                                    </td>
                                                </tr>
                                            </table>
                                        </ContentTemplate>
                                        <Triggers>
                                            <asp:AsyncPostBackTrigger ControlID="txtPlaca" EventName="TextChanged" />
                                        </Triggers>
                                    </asp:UpdatePanel>
                                </Content>
                            </AjaxControlToolkit:AccordionPane>
                        </Panes>
                    </AjaxControlToolkit:Accordion>
                    <div style="height: 208px">
                        <div id="divComplInf">
                            <asp:CheckBox ID="ckbInformacoes" runat="server" ForeColor="Black" />
                            <asp:Label ID="Label28" runat="server" Text="Desejo receber informações do site." ForeColor="Black"></asp:Label>
                        </div>
                        <asp:UpdatePanel ID="UpdatePanel5" runat="server">
                            <ContentTemplate>
                                <div id="divCaptcha" class="divCaptcha">
                                    <asp:Label ID="Label5" runat="server" CssClass="CaptchaComponent" Text="Informe os valores da imagem: " ForeColor="Black"></asp:Label>
                                    <asp:Image ID="imgCaptcha" runat="server" />
                                    <asp:TextBox ID="txtCaptcha" runat="server" Width="163px" CssClass="CaptchaComponent" OnTextChanged="txtCaptcha_TextChanged" />
                                    <asp:Image ID="imgValidacaoCaptcha" runat="server" Width="25px" Height="22px" CssClass="CaptchaComponent" Visible="False" />
                                    <asp:Label ID="lblValidacaoCaptcha" runat="server" Text="" ForeColor="Red"></asp:Label>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator15" runat="server"
                                        ControlToValidate="txtCaptcha" ErrorMessage="*Sequência numérica obrigatória!"
                                        ForeColor="Red" ValidationGroup="vgtxt"></asp:RequiredFieldValidator>
                                    <asp:CustomValidator ID="CustomValidatorCaptcha" runat="server" ErrorMessage="." OnServerValidate="CustomValidatorCaptcha_ServerValidate" ForeColor="Red"></asp:CustomValidator>
                                </div>
                            </ContentTemplate>
                            <Triggers>
                                <asp:AsyncPostBackTrigger ControlID="txtCaptcha" EventName="TextChanged" />
                            </Triggers>
                        </asp:UpdatePanel>
                        <br />
                        <div>
                            <asp:Button ID="btnCancelar" runat="server" Text="Cancelar" CssClass="botoesAcc" ForeColor="White" OnClick="btnCancelar_Click" />
                            <asp:Button ID="btnCadastrar" runat="server" Text="Cadastrar" CssClass="botoesAcc" ForeColor="White" OnClick="btnCadastrar_Click" ValidationGroup="vgtxt" />
                        </div>
                    </div>
                    <div id="divRodapeAcc" class="divRodapeAcc"></div>
                </div>
            </div>
        </ContentTemplate>
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="btnCancelar" EventName="Click" />
        </Triggers>
    </asp:UpdatePanel>
</asp:Content>
